package com.py.credit.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.py.credit.dao.CreditTotalDao;
import com.py.credit.dao.XyjgServiceDao;
import com.py.credit.service.XyjgService;
import com.py.framework.core.common.Page;
@Service
public class XyjgServiceImpl implements XyjgService {

	@Autowired
	private  XyjgServiceDao xyjgServiceDao;

	@Override
	public void addMaterial(String batchId, long deptId, String userName, String fileName,String path) {
		xyjgServiceDao.addMaterial(batchId,deptId,userName,fileName,path);
		
	}


	@Override
	public List<Map<String, Object>> getMaterialsListForPage(String zlmc,Page page) {
		
		return xyjgServiceDao.getMaterialsListForPage(zlmc,page);
	}


	@Override
	public void updateMaterial(String id, String type, String condition) {
		xyjgServiceDao.updateMaterial(id,type,condition);
		
	}

}
